package com.semidata.trp.business.model;

import java.sql.Timestamp;
import java.util.List;

public class PositionModel {
	private int id;
	private boolean deleted;
	private int width;
	private int height;
	private int size;
	private int min;
	private int max;
	private int mediaType;
	private int showType;
	private int arrangeType;
	private List<MaterialTypeModel> types;
	private Timestamp lastUpdate;

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public boolean isDeleted() {
		return deleted;
	}

	public void setDeleted(boolean deleted) {
		this.deleted = deleted;
	}

	public int getWidth() {
		return width;
	}

	public void setWidth(int width) {
		this.width = width;
	}

	public int getHeight() {
		return height;
	}

	public void setHeight(int height) {
		this.height = height;
	}

	public int getSize() {
		return size;
	}

	public void setSize(int size) {
		this.size = size;
	}

	public int getMin() {
		return min;
	}

	public void setMin(int min) {
		this.min = min;
	}

	public int getMax() {
		return max;
	}

	public void setMax(int max) {
		this.max = max;
	}

	public int getMediaType() {
		return mediaType;
	}

	public void setMediaType(int mediaType) {
		this.mediaType = mediaType;
	}

	public List<MaterialTypeModel> getTypes() {
		return types;
	}

	public void setTypes(List<MaterialTypeModel> types) {
		this.types = types;
	}	

	public int getShowType() {
		return showType;
	}

	public void setShowType(int showType) {
		this.showType = showType;
	}

	public int getArrangeType() {
		return arrangeType;
	}

	public void setArrangeType(int arrangeType) {
		this.arrangeType = arrangeType;
	}

	public Timestamp getLastUpdate() {
		return lastUpdate;
	}

	public void setLastUpdate(Timestamp lastUpdate) {
		this.lastUpdate = lastUpdate;
	}

	@Override
	public String toString() {
		return "PositionModel [id=" + id + ", deleted=" + deleted + ", width="
				+ width + ", height=" + height + ", size=" + size + ", min="
				+ min + ", max=" + max + ", mediaType=" + mediaType
				+ ", types=" + types + ", lastUpdate=" + lastUpdate + "]";
	}

}
